//*************************************************************************
//	BOOK.java 		Author:GK
//	
//	创建一个类：BOOK。
//*************************************************************************
public class BOOK 
{
    String bookname;
    String author;
    String press;
    String copyrightdate;

    public BOOK(String bk, String au, String p, String date){
        bookname= bk;
        author= au;
        press= p;
        copyrightdate= date;
    }
    public String getbookname(){
    	return bookname;
	}
    public String getauthor(){
    	return author;
	}
    public String getp(){
        return press;
	}
    public String getdate(){
    	return copyrightdate;
	}
    public void setbookname(String bk2){
    	bookname = bk2;
	}
    public void setauthor(String au2){
    	author = au2;
	}
    public void setpress(String p2){
    	press = p2;
	}
    public void setcopyrightdate(String date2){
    	copyrightdate = date2;
	}
    public String toString() {
      return bookname + "\t" + author + "\t" + press + "\t" + copyrightdate;
    }
}
